import { createStore } from 'vuex'

export default createStore({
  state: {
    list: [], // 存储添加的数据
    message:'我是辅助函数引入的值'
  },
  mutations: {
    addList(state,val){
      state.list.push(val);
    }
  },
  actions: {
  },
  modules: {
  }
})
